package com.company.project.demo.client.service.model.modulexxx.dto;

import com.base.common.model.dto.BaseDto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 例子返回对象
 * @Author zhongbo.yu
 * @Date 2021/12/28
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class HelloDto extends BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "年纪")
    private Integer age;

    @ApiModelProperty(value = "时间")
    private Date time;
}